package com.example.aitoedu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.aitoedu.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【course(课程信息)】的数据库操作Mapper
* @createDate 2024-10-14 19:14:27
* @Entity com.example.aitoedu.entity.Course
*/
public interface CourseMapper extends BaseMapper<Course> {

    Integer add(Course course);

    List<Long> selectByCidAndStuInfo(@Param("cid") Long courseId, @Param("stuInfo") String studentInfo, @Param("tid")Long tid);
}




